package org.example.elmfront.mapper;

import org.example.elmfront.entity.Restaurant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RestaurantMapper {
    @Select("SELECT * FROM restaurant")
    List<Restaurant> findAll();


}